package bepeb.views;

import org.eclipse.jface.action.IAction;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.ui.IViewActionDelegate;
import org.eclipse.ui.IViewPart;

public class CollapseAllAction implements IViewActionDelegate {

	private BEPEBView view;

	public void init(IViewPart view) {
		this.view = (BEPEBView) view;

	}

	public void run(IAction action) {
		view.getViewer().collapseAll();
	}

	public void selectionChanged(IAction action, ISelection selection) {
	}
}
